package com.qf.bigdata.view.web.service;

import com.qf.data.view.core.model.request.AddDeviceRequest;
import com.qf.data.view.core.model.request.UpdateDeviceRequest;
import com.qf.data.view.core.model.response.DeviceSelectResponse;
import com.qf.data.view.core.model.result.ResultModel;

/**
 * @author q
 * @version V1.0
 * @date 2022/01/04
 **/
public interface DeviceService {

    ResultModel<DeviceSelectResponse> getDeviceByKey(String key);

    ResultModel addDevice(AddDeviceRequest addDeviceRequest);

    ResultModel updateByDeviceId(UpdateDeviceRequest updateDeviceRequest);
}
